import request from '@/utils/requiest'
// 加入购物车
export const addCartApi =(userid:string,proid:string,num?:number)=>request.post('/cart/add',{ userid, proid, num: num || 1})